package com.qianfeng.rencai.mapper;

import com.qianfeng.rencai.pojo.SysRole;

import java.util.List;

/**
 * Created by wenka on 2022/3/30 15:19
 *
 * @author wenkaixin
 * @version 1.0
 * @since 1.0
 */
public interface SysRoleMapper {
    /**
     * 使用菜单按用户id查询角色
     * @param userId
     * @return
     */
    List<SysRole> findRoleByUserIdWithMenu(Long userId);
}
